package repository;

import cn.tedu.front.search.FrontSearchApplication;
import cn.tedu.front.search.dao.persist.repository.impl.SearchJobRepositoryImpl;
import cn.tedu.front.search.pojo.param.SearchKeywordsParam;
import cn.tedu.front.search.pojo.vo.SearchJobVO;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest(classes = FrontSearchApplication.class)
public class ISearchJobRepository {
    @Autowired
    private SearchJobRepositoryImpl repository;
    @Test
    void xx(){
        SearchKeywordsParam param=new SearchKeywordsParam();


        param.setJobType("全职");
        param.setSalary("15-20k");


        List<SearchJobVO> searchJobVOList = repository.selectKeyword(param);
        System.out.println(searchJobVOList);
    }
}
